package com.sunjob.loginserver.mapper;

import com.sunjob.common.domain.loginServer.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : Wangzurong
 * @create 2022-07-26 14:21
 */
@Mapper
@Component
public interface SysRoleMapper {
     List<String> queryRoleIdByLoginId(Long id);

    List<SysRole> queryAllRole();

    Integer addRole(Long userId, int i);
}
